package xyz.xiezc.xhttp;

import cn.hutool.core.thread.ThreadUtil;
import xyz.xiezc.ioc.XIoc;
import xyz.xiezc.ioc.annotation.Inject;

/**
 * @author wb-xzc291800
 * @date 2019/04/24 11:32
 */
public class App extends XIoc {


    @Inject
    HttpServer httpServer;

    public static void main(String[] args) {
        App app = new App();
        app.httpServer.startHttpServer(8989, ThreadUtil.newExecutor(1,5 ));
    }
}
